List Job templates
This API retrieves list of all template jobs that have been created and associated with a specific project.
Headers
| Header | Value |
|---|---|
user_id | Login username (email) |
api_key | API key of the user for authentication |
Content-Type | application/json |
Accept | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
accelqLoginUrl | string | Yes | The AccelQ login URL for API access. |
tenantCode | string | Yes | Tenant code for identifying the organization. |
projectCode | string | Yes | Project Code found under Auth properties of ACCELQ User Profile |
page | integer | No | Page number for pagination. |
pageSize | integer | No | Number of items per page (Maximum: 100). |
user_id | string | Yes | Login username (email) |
api_key | string | Yes | API key of the user for authentication |
Responses
200 - Successful response with a list of template jobs.
json
{
"page": 1,
"pageSize": 10,
"totalPages": 3,
"totalCount": 21,
"results": [
{
"jobPid": 5,
"purpose": "Fund Transfer Testing",
"runEntityPid": "SCENARIO",
"entityPid": 42,
"createdUser": "Demo@acmeInc.com",
"createdTimestamp": "1736507047"
},
{
"jobPid": 51,
"purpose": "Ticket booking Testing",
"runEntityPid": "TEST_SUITE",
"entityPid": 7,
"createdUser": "Demo2@acmeInc.com",
"createdTimestamp": "1736587647"
},
{
"jobPid": 67,
"purpose": "Screenshot testing",
"runEntityPid": "SCENARIO",
"entityPid": 2,
"createdUser": "Demo1@acmeInc.com",
"createdTimestamp": "1733457047"
}
]
}
403 - Forbidden - User does not have permission to fetch template Jobs
json
{
"error": "User do not have authorization to access this feature."
}
422 - Project not found.
json
{
"error": "Project with code 'proj123' not found."
}
cURL Command Builder
URL Parameters
Headers
Request Sample (cURL)
curl -X GET "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/test-exec/jobs/templates?page=${{page}}&pageSize=${{pageSize}}" \
-H "user_id: ${{user_id}}" \
-H "api_key: ${{api_key}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"